package com.gitee.kamismile.stone.basic.data.infrastructure.enums;

public enum DepErrorEnum {

    /**
     * 异常1_00_000
     * 项目_模块_异常
     */
    DepNotFound(1_01_001, "部门未找到"),
    DepNotNull(1_01_002, "部门ID不能为空"),
    ;
    private int code;
    private String message;

    DepErrorEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
